<extend name="Base/common"/>
<block name="right">
        <div class="main-container">
        <div class="padding-md">
            <div class="row">
                <div class="col-sm-12">
                    <div class="page-title">
                         委托统计
                    </div>
                </div>
            </div>
            <div class="col-sm-12 row chach">
                <form id="" method="get" action="__SELF__" name="">
                    <select class="select_ct" name="process_id">
                        <volist name=":getTaskStatus()" id="vo">
                            <option value="{$key}" <eq name="search['process_id']" value="$key">selected="selected"</eq>>{$vo}</option>
                        </volist>
                    </select>
                    <select class="select_ct" name="department">
                            <option value="all">全部机构</option>
                        <volist name=":getAllDepart()" id="vo">
                            <option value="{$vo.id}" <eq name="search['department']" value="$vo['id']">selected="selected"</eq>>{$vo.name}</option>
                        </volist>
                    </select>
                    <select class="select_ct" name="order">
                        <option value="3">全部费用</option>
                        <option value="0" <eq name="search['order']" value="0"> selected="selected"</eq>>费用由高到低</option>
                        <option value="1" <eq name="search['order']" value="1"> selected="selected"</eq>>费用由低到高</option>
                    </select>
                    <input type="submit" value="查询" class="action-button" name="but"/>
                    <input type="submit" value="导出" class="action-button" name="sub"/>
                </form>
            </div> 
            <div class="row">
                <div class="col-lg-12">
                    <div class="smart-widget widget-green">
                        <div class="smart-widget-header row ">
                            <span class="smart-widget-option">
                                <span class="refresh-icon-animated">
                                    <i class="fa fa-spinner fa-spin" style="color:#fff"></i>
                                </span>
                                <a href="#" class="widget-toggle-hidden-option">
                                    <i class="fa fa-cog"></i>
                                </a>
                                <a href="#" class="widget-collapse-option" data-toggle="collapse">
                                    <i class="fa fa-chevron-up"></i>
                                </a>
                                <a href="#" class="widget-refresh-option">
                                    <i class="fa fa-refresh"></i>
                                </a>
                            </span>
                        </div>
                        <div class="smart-widget-inner table-responsive">
                            <div class="smart-widget-hidden-section">
                                <ul class="widget-color-list clearfix">
                                    <li style="background-color:#20232b;" data-color="widget-dark"></li>
                                    <li style="background-color:#4c5f70;" data-color="widget-dark-blue"></li>
                                    <li style="background-color:#23b7e5;" data-color="widget-blue"></li>
                                    <li style="background-color:#1fb5ac;" data-color="widget-green"></li>
                                    <li style="background-color:#edbc6c;" data-color="widget-yellow"></li>
                                    <li style="background-color:#fbc852;" data-color="widget-orange"></li>
                                    <li style="background-color:#e36159;" data-color="widget-red"></li>
                                    <li style="background-color:#7266ba;" data-color="widget-purple"></li>
                                    <li style="background-color:#f5f5f5;" data-color="widget-light-grey"></li>
                                    <li style="background-color:#fff;" data-color="reset"></li>
                                </ul>
                            </div>
                            <table class="table table-striped no-margin">
                                <thead>
                                    <tr>
                                        <th>序号</th>
                                        <th>查新号</th>
                                        <th>委托日期</th>
                                        <th>项目名称</th>
                                        <th>处理机构</th>
										<th>费用</th>
                                        <th>处理状态</th>
                                        <th>完成日期</th>
                                        <th>费用</th>
                                        <th>操作</th>
                                    </tr>
                                </thead>
                                <tbody class="cy_takeyouflytb">
                                    <empty name="_list">
                                        <tr>
                                            <td colspan="9">对不起暂时没有数据</td>
                                        </tr>
                                        <else/>
                                        <volist name="_list" id="vo" key="k">
                                        <tr>
                                            <td>{$k+$num}</td>
                                            <td>{$vo.cxh}</td>
                                            <td>{$vo.intime}</td>
                                            <td>{$vo.xmmc}</td>
                                            <td>{$vo.department_id|getAgencynameById}</td>
                                            <td>{$vo.process_id|getTitleByProcessId}</td>
                                            <if condition="$vo['process_id'] eq 14">
                                            <td>{$vo.intime_13}</td>
                                                <else/>
                                                <td></td>
                                            </if>
                                            <td>{$vo.zfy}</td>
                                            <td>
                                                <a href="{:U('Task/browser',array('id'=>$vo['id']))}">查看</a>
                                            </td>
                                        </tr>
                                        </volist>
                                    </empty>
                                </tbody>
                            </table>
                            <div class="choose-page row">
                                {$_page}
                            </div>
                        </div><!-- ./smart-widget-inner -->
                    </div><!-- ./smart-widget -->
                </div><!-- ./col -->
            </div><!-- ./row -->
        </div><!-- ./padding-md -->
    </div><!-- /main-container -->
</block>
<block name="script">
    <script>
        highlight_subnav('{:U('Account/index')}');
        $(function(){

        })
    </script>
</block>